var HOST_URI = 'http://v.juhe.cn/toutiao/index';
//测试api
//  var APPKEY = '482e213ca7520ff1a8ccbb262c90320a';
 //var APPKEY = '079b794e481cd03ae363d5b4a4eddd57';
 var APPKEY = '639381dabc2167ac27d651fc630bdb50';

module.exports = {
  // 获取列表数据
  getNewsList: function (DATA) {
    console.log(DATA);
    console.log(HOST_URI + '?type=' + DATA.tab + '&key=' + APPKEY);
    //return res.data.result.data;
    return HOST_URI + '?type=' + DATA.tab + '&key=' + APPKEY;
  },
  // 获取内容页数据
  getNewsByUrl: function (URL) {
    return URL;
  }
};